//
//  CommonDefine.h
//  guangzhouhonda
//
//  Created by winston on 13-4-10.
//  Copyright (c) 2013年 winston. All rights reserved.
//


#ifndef SafeRelease
#define SafeRelease(obj) {if (nil != obj) { [obj release]; obj = nil; } }
#endif


#if DEBUG
#define DLog(var)             NSLog(var)
#define DFLog(format, ...)    NSLog(format, ##__VA_ARGS__)
#else
#define DLog(var)
#define DFLog(format, ...)
#endif



//子模块定义

#define Module_Key_AllAuto      @"AllAuto"          //全系车型
#define Module_Key_Store        @"Store"            //特约店
#define Module_Key_About        @"About"            //关于广本

#define Module_Key_Appearance   @"Appearance"       //外观
#define Module_Key_Decoration   @"Decoration"       //内饰
#define Module_Key_Technology   @"Technology"       //技术
#define Module_Key_Elaborate    @"Elaborate"        //精品
#define Module_Key_Comparison   @"Comparison"       //竞品对比
#define Module_Key_Favorite     @"Favorite"         //我的配置



//通知定义

#define Notification_Navigate_To_Module        @"Notification_Navigate_To_Module"
#define Notification_Navigate_To_CarModule     @"Notification_Navigate_To_CarModule"
#define Notification_Navigate_SecondPage       @"Notification_Navigate_SecondPage"
#define Notification_Navigate_FirstHomePage    @"Notification_Navigate_FirstHomePage"

#define Notification_Navigate_To_Store         @"Notification_Navigate_To_Store"
#define Notification_Navigate_To_Member        @"Notification_Navigate_To_Member"
#define Notification_Navigate_To_Brand         @"Notification_Navigate_To_Brand"
#define Notification_Navigate_To_Technology    @"Notification_Navigate_To_Technology"

